home *** CD-ROM | disk | FTP | other *** search
/ Macworld Expo - Develope…Central & Net Innovations / Developer Central and Net Innovators (MacWorld Expo) (January 1999).iso / Developer Central / Bowers Development / Demo AppMaker / Examples / C⁄C++ OS8 / Everything / DModalStuffData.h < prev    next >
Encoding:
Text File  |  1998-09-06  |  861 b   |  44 lines  |  [TEXT/CWIE]

  1. // DModalStuffData -- data class for Everything
  2.  
  3. #pragma once
  4.  
  5. #include "AMSignaler.h"
  6.  
  7.  
  8. const long    idTools2        = 'Too2';
  9. const long    idFromValuesList3        = 'Fro3';
  10. const long    idFromMenu2        = 'Fro4';
  11. const long    idTextList2        = 'Tex4';
  12.  
  13. class AMEngine;
  14.  
  15. //----------
  16. class DModalStuffData : public AMSignaler {
  17. public:
  18.                 DModalStuffData ();
  19.     virtual        ~DModalStuffData ();
  20.  
  21. public:
  22.     void        ReadFromFile    (AMEngine*        engine);
  23.     void        WriteToFile        (AMEngine*        engine);
  24.  
  25. public:
  26.     SInt16        GetTools2 () const;
  27.     void        SetTools2    (SInt16        inValue);
  28.  
  29.     SInt16        GetFromValuesList3 () const;
  30.     void        SetFromValuesList3    (SInt16        inValue);
  31.  
  32.     SInt16        GetFromMenu2 () const;
  33.     void        SetFromMenu2    (SInt16        inValue);
  34.  
  35.     SInt16        GetTextList2 () const;
  36.     void        SetTextList2    (SInt16        inValue);
  37.  
  38. protected:
  39.     SInt16        mTools2;
  40.     SInt16        mFromValuesList3;
  41.     SInt16        mFromMenu2;
  42.     SInt16        mTextList2;
  43. };
  44.